package com.learn.multDataSource.mapper.elastic;

import com.learn.multDataSource.model.elastic.TRcenum;
import com.learn.multDataSource.model.elastic.TRcenumExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TRcenumMapper {
    int countByExample(TRcenumExample example);

    int deleteByExample(TRcenumExample example);

    int deleteByPrimaryKey(@Param("brokerid") String brokerid, @Param("enumtypeid") String enumtypeid, @Param("enumvalue") String enumvalue);

    int insert(TRcenum record);

    int insertSelective(TRcenum record);

    List<TRcenum> selectByExample(TRcenumExample example);

    TRcenum selectByPrimaryKey(@Param("brokerid") String brokerid, @Param("enumtypeid") String enumtypeid, @Param("enumvalue") String enumvalue);

    int updateByExampleSelective(@Param("record") TRcenum record, @Param("example") TRcenumExample example);

    int updateByExample(@Param("record") TRcenum record, @Param("example") TRcenumExample example);

    int updateByPrimaryKeySelective(TRcenum record);

    int updateByPrimaryKey(TRcenum record);
}